package com.example.demoback.entity;

import lombok.Data;

import java.util.List;
@Data
public class SmallType {
    String categoryname;
    int categoryid;
    List<?> data;

    public SmallType(int categoryid ,String categoryname, List<Subcategory> subs) {
        this.categoryid = categoryid;
        this.categoryname = categoryname;
        this.data = subs;
    }
}
